package cn.xuguowen.user.designPatten.factory.heima_abstract_factory;

/**
 * ClassName: AmericanFactory
 * Package: cn.xuguowen.user.designPatten.factory.heima_abstract_factory
 * Description:
 * 美式风格的产品族生产工厂
 * @Author 徐国文
 * @Create 2023/4/27 14:25
 * @Version 1.0
 */
public class AmericanFactory implements Factory{

    @Override
    public Coffee createCoffee() {
        return new AmericaCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Tiramisu();
    }
}
